home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / flagload / flagload.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  5.6 KB  |  136 lines  |  [TEXT/ttxt]

  1.  
  2.           FlagLoad - Copyright (C) by Fabio Ciucci 1998/99
  3.  
  4.  
  5. This applet loads an image and animate it like a waving flag. You can
  6.  set any GIF/JPG flag; just resize it to be no larger than the applet
  7.  itself. 
  8.  
  9. This applet is fully parametrized, so you can change the intensity and the
  10. speed of wind.
  11.  
  12. The transparent image por.gif is a courtesy of Lone Star Posse Prod. Inc.
  13.  
  14. **************************************************************************
  15.  
  16. NECESSARY FILES.
  17.  
  18. As well as the flag image, and an optional foreground image, the following
  19.  3 ".class" files must be uploaded: 
  20.  
  21. FlagLoad.class
  22. Lware.class
  23. anfy.class
  24.  
  25. Plus, FlagLoad.jar for speedy loading on recent browsers.
  26.  
  27. **************************************************************************
  28.  
  29. EXAMPLE.
  30.  
  31. Insert the <applet></applet> tag in your html document as follows to add 
  32. this applet to your page (Comments after the ";" symbol are code descriptions
  33. and acceptable min/max values. They are not part of the applet language):
  34.  
  35. <applet archive="FlagLoad.jar" code="FlagLoad.class" width="167" height="117">
  36. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  37. <param name="regcode" value="NO">         ; Registration code (if you have it)
  38. <param name="reglink" value="NO">         ; Optional URL link when applet
  39.                                           is "clicked".
  40. <param name="regnewframe" value="YES">          ; Reglink opened in new frame?
  41. <param name="regframename" value="_blank">      ; Name of new frame for reglink
  42. <param name="statusmsg" value="FlagLoad applet">  ; Statusbar message
  43. <param name="res" value="1">                     ; Resolution (1-8)
  44. <param name="backimage" value="NO">             ; Optional background image
  45. <param name="backR" value="0">              ; RED comp. of backg. colour (0-255)
  46. <param name="backG" value="0">              ; GREEN comp. of backg. colour (0-255)
  47. <param name="backB" value="60">             ; BLUE comp. of backg. colour (0-255)
  48. <param name="pattern" value="8">            ; Type of drawing pattern (1-8)
  49. <param name="speed" value="3">              ; Wind speed
  50. <param name="curve" value="3">              ; Curve level (1-5)
  51. <param name="wind" value="8">               ; Wind intensity (0-20)
  52. <param name="flagload" value="anat.gif">    ; flag image to load (size: 50x33)
  53. <param name="pixdensity" value="3">         ; Pixels density (1-20)
  54. <param name="overimg" value="NO">           ; Optional image over applet
  55. <param name="overimgX" value="0">           ; Over image X offset
  56. <param name="overimgY" value="0">           ; Over image Y offset
  57. <param name="memdelay" value="1000">        ; Memory deallocation delay
  58. <param name="priority" value="3">           ; Task priority (1..10)
  59. <param name="MinSYNC" value="10">           ; Min. milliseconds/frame for sync
  60. Sorry, your browser doesn't support Java. ; Message for no java browsers.
  61. </applet>                                 ; End of applet tag
  62.  
  63. ************************************************************************
  64.  
  65. INSTRUCTIONS.
  66.  
  67.  
  68. The following instructions describe how to change parameters:
  69.  
  70. Attempting to change the credits parameter will disable the applet.
  71.  
  72. To activate the reg parameters read the shareware registration notes.
  73. In the "regcode" parameter, place the registration code you purchased
  74.  from the author. If the code is correct and the applet is run from the
  75.  registered domain name, you can use "link" parameters to link to a URL
  76. when the applet is mouse-clicked.
  77.  
  78. If you set "regnewframe" to "YES", you can specify a specific frame location
  79. for the reglink:
  80.  
  81. "_blank"  : To load the link in a new blank unnamed browser window.
  82. "_self"   : To load the link into the same window the applet occupies.
  83. "_parent" : To load the link into the immediate FRAMESET parent.
  84. "_top"    : To load the link into the top body of the window.
  85.  
  86. You can also set a custom frame name, such as "myframe1".
  87.  
  88. With the "overimg" parameter you can specify the name of an image that will
  89. be painted over the applet. The best options are transparent GIF images.
  90.  
  91. NOTE: Animated GIF images are supported, but will be animated only on latest
  92.  browsers (Netscape 4 and Explorer 4 or newer).
  93.  
  94. With "overimgX" and "overimgY" you can center the image over the applet area.
  95.  
  96. You can determine the width and height of the applet with the "width" and
  97. "height" parameters in the <applet> tag.
  98.  
  99. The parameter "res" is the resizer, however resizing to a value greater than 1
  100. results in poor appearance and a slower effect.
  101.  
  102. You can change the background colour for best results on your web page.
  103. RGB values are the same as those in HTML tags, but in purely decimal 
  104. values without the "#" symbol.
  105.  
  106. You can load a background image by placing its name in the "backimage"
  107. parameter. This image must be the same size as the applet if res=1, then
  108. half the size of the applet if res=2, and so on.
  109.  
  110. The style of painting is changed with the parameter "pattern":
  111.  
  112. 1 = small dots
  113. 2 = double dots
  114. 3 = stars
  115. 4 = stars with a central hole
  116. 5 = triangles
  117. 6 = triple dots
  118. 7 = triple dots dithered 1
  119. 8 = triple dots dithered 2
  120.  
  121. The "speed" parameter controls the speed of the effect.
  122.  
  123. The "curve" level changes the intensity of vertical waving. 
  124.  
  125. The "wind" value decides the meteorologic condition: 0 = no waving,
  126. and 20 = hurricane.
  127.  
  128. The most important parameter is: "flagload". Here you must place the name
  129.  of the image file to be animated.
  130.  
  131. This image can have any width and height, but be sure it is similiar
  132. in size and width/height ratio to the applet itself for best results.
  133.  
  134. The "pixdensity" parameter (1-20) determines the distance between plotted 
  135. points. So, this parameter works another resolution controler. 
  136.